#define _CRT_SECURE_NO_WARNINGS
#include"List.h"

void Test() {
	ListNode* plist = ListInit();
	ListPushBack(plist, 1);
	ListPushBack(plist, 2);
	ListPushBack(plist, 3);
	ListPushFront(plist, 0);
	ListPopFront(plist);
	ListPopBack(plist);
	ListPrint(plist);
	/*ListNode* pos = ListFind(plist, 3);
	if (pos)
		ListInsert(pos, 10);
	ListPrint(plist);
	ListNode*pos1= ListFind(plist, 2);
	if (pos1)
		ListErase(pos1);
	ListPrint(plist);
	void ListDestory(plist);*/
}


int main() {
	Test();
	return 0;
}